package com.qmctl.rest.bean.common;
import javax.xml.bind.annotation.XmlRootElement;

import com.qmctl.rest.entity.OrdersUserInfo;
@XmlRootElement(name="senderInfo")
public class SenderInfoClazz{
  private String company;
  private String name;
  private String zipCode;
  private String tel;
  private String mobile;
  private String email;
  private String countryCode;
  private String province;
  private String city;
  private String area;
  private String town;
  private String detailAddress;

  public SenderInfoClazz(){
	  
  }
  public SenderInfoClazz(OrdersUserInfo beanClazz){
	    company = beanClazz.getCompany();
	    name = beanClazz.getName();
	    zipCode = beanClazz.getZipCode();
	    tel = beanClazz.getTel();
	    mobile = beanClazz.getMobile();
	    email = beanClazz.getEmail();
	    countryCode = beanClazz.getCountryCode();
	    province = beanClazz.getProvince();
	    city = beanClazz.getCity();
	    area = beanClazz.getArea();
	    town = beanClazz.getTown();
	    detailAddress = beanClazz.getDetailAddress();
  }  
  public String getCompany(){
    return company;
  }
  public void setCompany(String sCompany){
    company = sCompany;
  }
  public String getName(){
    return name;
  }
  public void setName(String sName){
    name = sName;
  }
  public String getZipCode(){
    return zipCode;
  }
  public void setZipCode(String sZipCode){
    zipCode = sZipCode;
  }
  public String getTel(){
    return tel;
  }
  public void setTel(String sTel){
    tel = sTel;
  }
  public String getMobile(){
    return mobile;
  }
  public void setMobile(String sMobile){
    mobile = sMobile;
  }
  public String getEmail(){
    return email;
  }
  public void setEmail(String sEmail){
    email = sEmail;
  }
  public String getCountryCode(){
    return countryCode;
  }
  public void setCountryCode(String sCountryCode){
    countryCode = sCountryCode;
  }
  public String getProvince(){
    return province;
  }
  public void setProvince(String sProvince){
    province = sProvince;
  }
  public String getCity(){
    return city;
  }
  public void setCity(String sCity){
    city = sCity;
  }
  public String getArea(){
    return area;
  }
  public void setArea(String sArea){
    area = sArea;
  }
  public String getTown(){
    return town;
  }
  public void setTown(String sTown){
    town = sTown;
  }
  public String getDetailAddress(){
    return detailAddress;
  }
  public void setDetailAddress(String sDetailAddress){
    detailAddress = sDetailAddress;
  }
@Override
public String toString() {
	return "SenderInfoClazz [company=" + company + ", name=" + name
			+ ", zipCode=" + zipCode + ", tel=" + tel + ", mobile=" + mobile
			+ ", email=" + email + ", countryCode=" + countryCode
			+ ", province=" + province + ", city=" + city + ", area=" + area
			+ ", town=" + town + ", detailAddress=" + detailAddress + "]";
}
  
}
